package main

import (
	"chat_demo/conf"
	"chat_demo/router"
	"chat_demo/service"
)

func main() {
	conf.Init() //初始化数据
	go service.Manager.Start()
	r := router.NewRouter()

	_ = r.Run(conf.HttpPort)
}
